/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package javaapplication6.DomainLayer;

/**
 *
 * @author meydlo
 */




//
public class Person
{

    //
    private String name ;

    //
    private String address ;

    //
    private long id;

    //
    private String phoneNo ;

    //
    private double discount;

    public Person()
    {

    }


	//
    public Person(String name , String phoneNo,String address,long id)
    {
        this.name=name;
        this.phoneNo=phoneNo;
        this.address=address;
        this.id=id;
    }

    

	//
    public String getName ()
    {
        return name;
    }

	//
    public String getAddress ()
    {
        return address;
    }


	//
    public String getPhoneNo ()
    {
        return phoneNo;
    }

	//
    public void setName (String name)
    {
        this.name=name;
    }

	//
    public void setAddress (String address)
    {
        this.address=address;
    }

	//
    public void setPhoneNo (String phoneNo)
    {
        this.phoneNo=phoneNo;
    }

     public void printPersonInfo()
    {

        System.out.println(
                "\n name: "+getName()+
                "\n address: "+getAddress()+
                "\n id: "+getId()
                );
     }

    /**
     * @return the id
     */
    public long getId() {
        return id;
    }

    /**
     * @param id the id to set
     */
    public void setId(long id) {
        this.id = id;
    }

    public double getDiscount() {
        return discount;
    }

    public void setDiscount(double discount) {
        this.discount = discount;
    }


}

